package com.library.university.mapper;

import com.library.university.pojo.University;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UniversityMapper {

    List<University> selectUniversity();

    int addUniversity(University university);

    int updateUniversity(University university);

    int deleteUniversity(@Param("id") int id);

}
